package com.lin.utils;

import java.util.ArrayList;

import com.yunfeng.supercall.bean.PhoneContactsBean;


	
public class Parameters {
	// not the same as BuildConfig.DEBUG
	public static final boolean DEBUG=true;
	
	public static final String SERVER_URL_PROD = "http://192.168.1.72:8011/index.php/phone/User.html";
	public static final String SERVER_PIC_URL = "http://res.chaohaoapp.com:8887";
	public static final String MEDIAS_URL_PROD = "http://192.168.1.72:8011/index.php/phone/User.html";
	
	public static final String SERVER_URL_DEV = "http://192.168.1.72:8011/index.php/phone/User.html";
	public static final String MEDIAS_URL_DEV = "http://192.168.1.72:8011/index.php/phone/User.html";
	
	public static final String BASEINDEX = "http://192.168.1.72:8011/index.php";
	
	// how long to keep medias in cache
	public static final long MEDIAS_LIFETIME = 86400*1000*7; // 7 days in milliseconds
		
	public static final String DEFAULT_LOGIN = "";
	public static final String DEFAULT_PASSWORD = "";
	
	
	public static final int MAX_MOST_BOUGHT_PRODUCTS = 30;
	public static final int MAX_ALL_BOUGHT_PRODUCTS = 100;
	

	public static final int MAPS_DEFAULT_ZOOM_SPAN = 10000;
	
	// minimum number of characters before to issue a search request
	public static final int SEARCH_MIN_INPUT_LENGTH = 1;
	// delay (ms) without user action before a search request is issued
	public static final int SEARCH_NO_USER_ACTION_DELAY = 100;
	
	public static final int NUM_STORES_FOR_SELECTION = 5;
	
	// in shopping trip, shopping list edition : (minimum) time between two consecutive refresh of the list to detect external modifications
	public static final int SHOPPING_LIST_REFRESH_PERIOD = 5000;

	

	public static ArrayList<PhoneContactsBean> mArrayListPhoneContactsBean = new ArrayList<PhoneContactsBean>();	
	public static final String FEEDBACK_EMAIL = "info@leboncotedeschoses.fr";
	public static boolean isOutCalling = false;
	public static boolean isInCalling = false;
}
